How to Properly Read Colon Tags (<p:id>) in google_merchant.xml in PHP
How to read xml with tags that have a colon <p:id>, like in Google Merchant upload. Using registerXPathNamespace or referencing the tag directly.
Search by: Php 7
(8)
How to read xml with tags that have a colon <p:id>, like in Google Merchant upload. Using registerXPathNamespace or referencing the tag directly.
Parsing JWT HS256 encryption, decrypting JWT HS256, comparing sha256 signatures for information integrity.
Let's consider the possibility of changing the parameters of the configuration file (php.ini) on a hosting that does not have the ability to configure the Cron scheduler (cli) from the panel.
Consider the possibility of quickly creating a CSV file with automatic file download. Consider the formation, separators and header for the ability to download the file.
Consider options for popular options for storing goods in a shopping cart in an online store. Let's outline the pros and cons of such storage. Consider options for long-term storage of the basket.
Consider installing ionCube loader for php 7.2 for Ubuntu 18.04. This approach will work for any version of php supported by the ionCube developer.
Sometimes, it is required to keep an internal record of the source from which the user entered the site and, for example, made an order. Consider an example of how to find out where the user came to the site from. The Sourcebuster.js library will help us with this, which will let you know the source from which the client went to the site and much more.
When running the script from the console, there is no DOCUMENT_ROOT in $_SERVER. Let's try to get around this in our own ways, catch the file directory.